/* Copyright (C) 2006 Charlie C
*
* This software is provided 'as-is', without any express or implied
* warranty.  In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,
* including commercial applications, and to alter it and redistribute it
* freely, subject to the following restrictions:
*
* 1. The origin of this software must not be misrepresented; you must not
*    claim that you wrote the original software. If you use this software
*    in a product, an acknowledgment in the product documentation would be
*    appreciated but is not required.
* 2. Altered source versions must be plainly marked as such, and must not be
*    misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution.
*/
// Auto generated from makesdna dna.c
#ifndef __BLENDER_SPACEFILE__H__
#define __BLENDER_SPACEFILE__H__


// -------------------------------------------------- //
#include "blender_Common.h"

namespace Blender {


    // ---------------------------------------------- //
    class SpaceFile
    {
    public:
        SpaceLink *next;
        SpaceLink *prev;
        int spacetype;
        float blockscale;
        ScrArea *area;
        short blockhandler[8];
        bInvalidHandle *filelist;
        int totfile;
        char title[24];
        char dir[240];
        char file[80];
        short type;
        short ofs;
        short flag;
        short sort;
        short maxnamelen;
        short collums;
        short f_fp;
        short pad1;
        int pad2;
        char fp_str[8];
        bInvalidHandle *libfiledata;
        short retval;
        short menu;
        short act;
        short ipotype;
        void (*returnfunc)();
        void (*returnfunc_event)();
        void (*returnfunc_args)();
        void *arg1;
        void *arg2;
        short *menup;
        char *pupmenu;
    };
}


#endif//__BLENDER_SPACEFILE__H__
